namespace Apps.Models
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("PL_RC_PLANS")]
    public partial class PL_RC_PLANS
    {
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
        public PL_RC_PLANS()
        {
            PL_RC_DETAILS = new HashSet<PL_RC_DETAILS>();
        }

        [Key]
        [StringLength(40)]
        public string PLAN_ID { get; set; }

        public DateTime? PLAN_DATE { get; set; }

        [StringLength(40)]
        public string PLAN_USER_ID { get; set; }

        public DateTime? CREATE_TIME { get; set; }

        public bool? PUBLISHED { get; set; }

        public DateTime? PUBLISH_TIME { get; set; }

        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
        public virtual ICollection<PL_RC_DETAILS> PL_RC_DETAILS { get; set; }
    }
}
